let human = {
    friend: {
        name: "Hydra"
    }
}

Object.freeze(human);

human.friend.name = "LiJiatong";

console.log(human.friend.name);